/*
 * XYWedge.java
 *
 * Created on September 17, 2004, 1:13 PM
 */

package edu.temple.GUS.MMA.Neighborhoods;

/**
 * 
 * @author jeffleon
 */
public class XYWedge extends XYNeighborhood {

	private int radius;
	private int startAngle;
	private int endAngle;

	/** Creates a new instance of XYWedge */
	// modified by Frank Hardisty 28 August 2009
	public XYWedge(int x, int y, int r, int startAngle, int endAngle) {
		super(x, y);
		radius = r;
		this.startAngle = startAngle;
		this.endAngle = endAngle;
	}

	public int getRadius() {
		return radius;
	}

	public int getStartAngle() {
		return startAngle;
	}

	public int getEndAngle() {
		return endAngle;
	}

	public void putRadius(int r) {
		radius = r;
	}

	public void putStartAngle(int startAngle) {
		this.startAngle = startAngle;
	}

	public void putEndAngle(int endAngle) {
		this.endAngle = endAngle;
	}
}
